package com.cxx.purchasecharge.dal;

import java.util.List;

import com.cxx.purchasecharge.core.model.persistence.GoodsType;
import com.cxx.purchasecharge.dal.common.MyGenericDao;

public interface GoodsTypeDao extends MyGenericDao <GoodsType, Long>
{

    public GoodsType findByName (String name);

    public List <GoodsType> findByParent (Long parentId);

}
